﻿<%@ Page Language="C#" Title="无标题页" MasterPageFile="~/Themes/AdminMasterPage.master" %>

<script runat="server">
    
    protected override void OnLoad(EventArgs e)
    {
        base.OnLoad(e);

        isTop.Visible = SiteContext.Current.EnableTopButton;
        isHot.Visible = SiteContext.Current.EnableHotButton;

        isTop.HeadText = this.Strings["Top"];
        isHot.HeadText = this.Strings["Hot"];        
    }
    
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
    <lswweb:NewsSearch ID="serach" Class="floatRight" runat="server"></lswweb:NewsSearch>
    <lswweb:NewsList ID="isTop" Status="Enabled" PageSize="10" IsHot="False" IsTop="True" runat="server"></lswweb:NewsList>
    <lswweb:NewsList ID="isHot" Status="Enabled" PageSize="10" IsHot="True" IsTop="False" runat="server"></lswweb:NewsList>
    <lswweb:NewsList ID="list" Status="Enabled" IsHot="False" IsTop="False" runat="server"></lswweb:NewsList>
</asp:Content>

